package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.LifterMonitorBasicDao;
import com.site.wisdom_construction.entity.iotModule.LifterMonitorBasic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/12/6
 * @Description
 */
@Service
public class LifterMonitorBasicService implements LifterMonitorBasicDao {
    @Autowired
    private LifterMonitorBasicDao lifterMonitorBasicDao;

    @Override
    public int insertLifterMonitorBasic(Map map) {
        return lifterMonitorBasicDao.insertLifterMonitorBasic(map);
    }

    @Override
    public int deleteLifterMonitorBasic(Map map) {
        return lifterMonitorBasicDao.deleteLifterMonitorBasic(map);
    }

    @Override
    public int updateLifterMonitorBasic(Map map) {
        return lifterMonitorBasicDao.updateLifterMonitorBasic(map);
    }

    @Override
    public List<LifterMonitorBasic> findLifterMonitorBasic(Map map) {
        return lifterMonitorBasicDao.findLifterMonitorBasic(map);
    }

    @Override
    public long Total(Map map) {
        return lifterMonitorBasicDao.Total(map);
    }

    @Override
    public LifterMonitorBasic findLifterMonitorBasicByDeviceId(Map map) {
        return lifterMonitorBasicDao.findLifterMonitorBasicByDeviceId(map);
    }
}
